package com.zhixi100.orderservice.feign;

import com.zhixi100.framework.common.ObjectRestResponse;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

@Component
public class ProductFeignFallback implements ProductFeign {

    public ObjectRestResponse findProduct(int productId) {
        System.out.println("ProductFeign...findProduct...error");
        return null;
    }
    public ObjectRestResponse reduceStore(int productId) {
        System.out.println("ProductFeign...reduceStore...error");
        return null;
    }
}
